home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / comm / misc / TagoMigaSrc.lha / PORTING < prev    next >
Text File  |  1999-03-28  |  2KB  |  38 lines

  1. Porting Tag-o-Miga to other computer systems
  2. ============================================
  3.  
  4. Tag-o-Miga was designed to be easily ported, by seperating
  5. platform-specific and platform-independent code, so this should not
  6. cause much of a problem.
  7.  
  8. There is a directory for each platform type (amiga, dos, etc.) which
  9. contains only files specific to that platform, and also contains all
  10. of the object and executable files for that platform.  The 'shared'
  11. directory contains files which are global for every platform.
  12.  
  13. To start with, create a directory for your platform.  I suggest that
  14. you copy the files from the unix directory into it as a starting
  15. point.
  16.  
  17. Edit the os.h file and specific.c file to suit your system.
  18.  
  19. Now you need to compile it.  A basic build will consist of the
  20. following files from the shared directory:
  21.     tmiga.c tagfile.c general.c config.c errors.c build.c
  22. plus 'specific.c' from the platform-specific directory.
  23.  
  24. When compiling, specify the macro PRERELEASE if you want a prerelease
  25. version (this changes some of the version displays to include the
  26. build number).  Under most compilers, -D on the command line specifies
  27. a macro (e.g. -DPRERELEASE).
  28.  
  29. If you get warnings about not being able to find function stricmp
  30. during linking, specify the macro STRCASECMP.
  31.  
  32. By default, the program will not use a GUI.  If you want to enable a
  33. GUI, specify the macro ACTIVATE_GUI and write some code containing
  34. a function DoGUI().  This function is called at the appropriate
  35. point in the program.  Write your code to read and modify the global
  36. variables containing the tagline information.  See amiga/a_gui2.c
  37. and amiga/a_gui.c for help on this.
  38.